mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
update last seen in mucs. fixes #1508
This commit is contained in:
parent
efab290c28
commit
9b07059b6e
@ -353,7 +353,11 @@ public class MessageParser extends AbstractParser implements
|
||||
message.setTime(timestamp);
|
||||
message.markable = packet.hasChild("markable", "urn:xmpp:chat-markers:0");
|
||||
if (conversation.getMode() == Conversation.MODE_MULTI) {
|
||||
message.setTrueCounterpart(conversation.getMucOptions().getTrueCounterpart(counterpart.getResourcepart()));
|
||||
Jid trueCounterpart = conversation.getMucOptions().getTrueCounterpart(counterpart.getResourcepart());
|
||||
message.setTrueCounterpart(trueCounterpart);
|
||||
if (trueCounterpart != null) {
|
||||
updateLastseen(packet,account,trueCounterpart,false);
|
||||
}
|
||||
if (!isTypeGroupChat) {
|
||||
message.setType(Message.TYPE_PRIVATE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user