2
0
Эх сурвалжийг харах

Fix failing test and update changelog. updates #1185

JC Brand 6 жил өмнө
parent
commit
abd9786c0f
2 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 1 0
      CHANGES.md
  2. 1 1
      spec/protocol.js

+ 1 - 0
CHANGES.md

@@ -12,6 +12,7 @@
 - #1063 URLs in the topic / subject are not clickable
 - #1140 Add support for destroyed chatrooms
 - #1169 Non-joined participants display an unwanted status message
+- #1185 Added Contact still shown as pending
 - #1190 MUC Participants column disappears in certain viewport widths
 - #1193 OMEMO messages without a `<body>` fallback are ignored
 - #1199 Can't get back from to login screen from registration screen

+ 1 - 1
spec/protocol.js

@@ -209,7 +209,7 @@
                      *  </iq>
                      */
                     spyOn(_converse.roster, "updateContact").and.callThrough();
-                    stanza = $iq({'type': 'set', 'from': _converse.connection.jid})
+                    stanza = $iq({'type': 'set', 'from': _converse.bare_jid})
                         .c('query', {'xmlns': 'jabber:iq:roster'})
                         .c('item', {
                             'jid': 'contact@example.org',