Fix runtime critical from read marker sending (fixup 3a8fef7
)
This commit is contained in:
parent
e7bc68ad4d
commit
1db94905ae
|
@ -207,7 +207,7 @@ public class ChatInteraction : StreamInteractionModule, Object {
|
||||||
case Xep.ChatMarkers.MARKER_DISPLAYED:
|
case Xep.ChatMarkers.MARKER_DISPLAYED:
|
||||||
if (conversation.get_send_marker_setting(stream_interactor) == Conversation.Setting.ON) {
|
if (conversation.get_send_marker_setting(stream_interactor) == Conversation.Setting.ON) {
|
||||||
if (message.type_ == Message.Type.GROUPCHAT) {
|
if (message.type_ == Message.Type.GROUPCHAT) {
|
||||||
if (message.stanza_id == null) return;
|
if (message.server_id == null) return;
|
||||||
stream.get_module(Xep.ChatMarkers.Module.IDENTITY).send_marker(stream, message.from.bare_jid, message.server_id, message.get_type_string(), Xep.ChatMarkers.MARKER_DISPLAYED);
|
stream.get_module(Xep.ChatMarkers.Module.IDENTITY).send_marker(stream, message.from.bare_jid, message.server_id, message.get_type_string(), Xep.ChatMarkers.MARKER_DISPLAYED);
|
||||||
} else {
|
} else {
|
||||||
if (message.stanza_id == null) return;
|
if (message.stanza_id == null) return;
|
||||||
|
|
Loading…
Reference in a new issue