SHARE
TWEET

Untitled

a guest Oct 23rd, 2017 382 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. Scenario 1
  2.  
  3. user A: scarlett@kaskus-staging.obrol.id
  4. open in kaskus web staging
  5.  
  6. user B: dvdekow@kaskus-staging.obrol.id
  7. open in pidgin
  8.  
  9.  
  10. user A login in kaskus web staging
  11. user A create new group G1 (group-51015f393d43be1cc@conference.kaskus-staging.obrol.id), invites user B to it
  12. user B login in pidgin
  13. user B not open new group in pidgin
  14. user B open xmpp console, send message to G1:
  15.     <message type='groupchat' id='purpledbb9223aaaa' to='group-51015f393d43be1cc@conference.kaskus-staging.obrol.id'>
  16.         <body>a</body>
  17.     </message>
  18. and also:
  19.     <message type='groupchat' id='purpledbb9223bbbb' to='group-51015f393d43be1cc@conference.kaskus-staging.obrol.id'>
  20.         <body>bb</body>
  21.     </message>
  22.  
  23. user A receive both messages in web client
  24.  
  25. after that, (both user A and B still login)
  26. user A create new group G2 (group-74315f3956b7071f1@conference.kaskus-staging.obrol.id), invites user B to it
  27. user B not open new group in pidgin
  28. user B open xmpp console, send message to G2:
  29.     <message type='groupchat' id='purpledbb9223cccc' to='group-74315f3956b7071f1@conference.kaskus-staging.obrol.id'>
  30.         <body>cc</body>
  31.     </message>
  32.  
  33. User B got the following error:
  34.  
  35. XMPP Message Error
  36. Message delivery to group-74315f3956b7071f1@conference.kaskus-staging.obrol.id failed: Only occupants are allowed to send messages to the conference (Code 406)
  37.  
  38.  
  39. after that, user B logout from pidgin
  40. login again in pidgin,
  41. user B open xmpp console, resend message to G2:
  42.     <message type='groupchat' id='purpledbb9223cccc' to='group-74315f3956b7071f1@conference.kaskus-staging.obrol.id'>
  43.         <body>cc</body>
  44.     </message>
  45.  
  46. message delivered successfully and user A receive message in web client
  47.  
  48.  
  49. ========================================================================================================
  50. 2. Scenario 2
  51.  
  52. user A: scarlett@kaskus-staging.obrol.id
  53. open in kaskus web staging and pidgin
  54.  
  55. user B: dvdekow@kaskus-staging.obrol.id
  56. open in kaskus web staging
  57.  
  58.  
  59. both user A and B join to G1 (group-74315f3956b7071f1@conference.kaskus-staging.obrol.id)
  60.  
  61. user A login in kaskus web staging and pidgin,
  62. user B login in kaskus web staging,
  63.  
  64. user A logout from pidgin,
  65. user B send message to G1,
  66. user A receive message in kaskus web staging
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top