update fork #128

Manually merged
tristan merged 181 commits from mirror/monocles_chat_clean:master into master 2026-01-23 14:02:38 +01:00
Showing only changes of commit 466fa3a40e - Show all commits

Fix replying to story

Arne 2026-01-03 10:50:54 +01:00

View file

@ -256,8 +256,8 @@ public class StoryViewActivity extends XmppActivity implements StoryFragment.OnS
return true;
} else if (itemId == R.id.action_reply_to_story) {
int currentPos = viewPager.getCurrentItem();
Message storyMessage = new Message(null, titles.get(currentPos), Message.ENCRYPTION_NONE, Message.STATUS_RECEIVED);
Conversation conversation = xmppConnectionService.findOrCreateConversation(mAccount, contact, false, false);
Message storyMessage = new Message(conversation, getString(R.string.reply_to_story) + " " + "\"" + titles.get(currentPos) + "\"", conversation.getNextEncryption(), Message.STATUS_RECEIVED);
conversation.setReplyTo(storyMessage);
switchToConversation(conversation);
return true;