1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
profanity/src
Michael Vetter 68af0aad65 _handle_groupchat(): get correct origin-id stanza
The problem is that in _handle_groupchat() we look for
STANZA_NS_STABLE_ID which will result in origin-id or stanza-id.
It seems like prosody servers send origin-id first, so this worked in
all my tests. But actually we cannot be sure of the order.
So far we stopped after the first element was found.

I only found xmpp_stanza_get_child_by_ns() and
xmpp_stanza_get_child_by_name() in libstrophe. But we need a combination
of both.

So I created stanza_get_child_by_name_and_ns() for Profanity. I need to
remember to upstream this to libstrophe later (if they really don't have
such a function).

Fix https://github.com/profanity-im/profanity/issues/1223
2019-11-08 15:05:49 +01:00
..
command cmd_room: don't check arguments twice 2019-11-08 13:00:31 +01:00
config Change default text colors to default (#1213) 2019-10-22 08:13:39 +02:00
event Don't override ProfMessage Id with origin-id 2019-10-31 13:45:44 +01:00
omemo omemo: use lower case to log info 2019-08-23 10:18:20 +02:00
otr Actually log MUC PM messages 2019-10-28 23:36:42 +01:00
pgp Restoration of correct GPG encryption 2019-02-20 11:53:40 +01:00
plugins plugins/python: fix double _XOPEN_SOURCE definition 2019-10-15 12:30:38 +00:00
tools Dont use clipboard_init yet 2019-10-29 15:20:57 +01:00
ui Merge /invite, /invites and /decline commands 2019-11-05 22:06:19 +01:00
xmpp _handle_groupchat(): get correct origin-id stanza 2019-11-08 15:05:49 +01:00
common.c Move code from jid_random_resource() into own function 2019-10-16 10:39:35 +02:00
common.h Move code from jid_random_resource() into own function 2019-10-16 10:39:35 +02:00
log.c Actually log MUC PM messages 2019-10-28 23:36:42 +01:00
log.h Actually log MUC PM messages 2019-10-28 23:36:42 +01:00
main.c Use fixed email instead of PACKAGE_BUGREPORT 2019-08-23 09:40:54 +02:00
profanity.c Possibility to specify alternative config file 2019-08-02 15:55:47 +02:00
profanity.h Possibility to specify alternative config file 2019-08-02 15:55:47 +02:00