mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 12:17:06 +00:00
Set message type=normal for invites for Gajim
This commit is contained in:
parent
a5a3fdf688
commit
b0be2ad259
1 changed files with 2 additions and 0 deletions
|
|
@ -164,6 +164,8 @@ func sendMessageWrapper(to, from, body, subject, errorText, id string, component
|
||||||
messageType = stanza.MessageTypeError
|
messageType = stanza.MessageTypeError
|
||||||
} else if isGroupchat {
|
} else if isGroupchat {
|
||||||
messageType = stanza.MessageTypeGroupchat
|
messageType = stanza.MessageTypeGroupchat
|
||||||
|
} else if inviteFrom != "" {
|
||||||
|
messageType = stanza.MessageTypeNormal
|
||||||
} else {
|
} else {
|
||||||
messageType = stanza.MessageTypeChat
|
messageType = stanza.MessageTypeChat
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue