Gajim - 2018-05-30


  1. ValdikSS Gajim discards messages with jabber:x:oob, but without body. Is that a bug?
  2. lovetox ValdikSS, depends on the Gajim version
  3. ValdikSS 1.0.3
  4. ValdikSS https://dev.gajim.org/gajim/gajim/commit/81566df8a1f988c5820309ec2865b8ced895fc8f
  5. ValdikSS blame you
  6. lovetox what do you mean with discarding
  7. lovetox not displaying?
  8. ValdikSS Yes
  9. lovetox or not logging?
  10. ValdikSS Not displaying
  11. lovetox when does that happen?
  12. lovetox i mean what client sends this and why
  13. ValdikSS Matterbridge sends this, because I added this functionality. This is a software to bridge multiple protocols.
  14. lovetox but you must have a fallback
  15. lovetox not every client has oob implemented
  16. ValdikSS Conversations does not support sending text and image in one message, so I had to send the message with body and the url, without OOB, and then another message without body and with oob
  17. ValdikSS Yes, this is a fallback actially.
  18. ValdikSS If I send oob message with blank body, some clients will show blank message.
  19. lovetox and what is your goal ?
  20. lovetox you want to send a link with text?
  21. ValdikSS I want to send just a link, without text
  22. lovetox then add the link in the body
  23. lovetox so also clients that dont support oob can display something
  24. ValdikSS I don't want them to show anything, this is a thing.
  25. lovetox Oo
  26. ValdikSS This is a bridge between multiple protocols. The bridge needs to send the nickname of the user who sent the message (or image).
  27. lovetox so then gajim behaves like you want it to or not? it discards the message
  28. ValdikSS Conversations will show the image only if there's no other text in body, so I can't send the body with the nickname and the oob data in the same message.
  29. lovetox thats not true
  30. ValdikSS That's why I send one usual message with the nickname and the link (and additional text, if any), and then send another mesage with oob data, and without body tag at all.
  31. lovetox Conversations will show the image if body == url
  32. lovetox so add the link in the body also
  33. ValdikSS Yes, but you can't add the nickname or any additional text in body.
  34. ValdikSS If I add body to the second message, the clients which doesn't support OOB, will show 2 messages with the same link.
  35. ValdikSS >so then gajim behaves like you want it to or not? it discards the message Gajim should not discard the message if there's OOB data but no body tag. It should show the image from OOB.
  36. lovetox im not getting it, you said
  37. lovetox 12:12 me: so also clients that dont support oob can display something 12:13 ValdikSS: I don't want them to show anything, this is a thing.
  38. lovetox gajim doesnt show anything
  39. ValdikSS But gajim supports OOB.
  40. lovetox not in the way you use it
  41. ValdikSS I don't see any other way to implement that.
  42. ValdikSS Please tell me if you have any ideas.
  43. lovetox i have to look into what gajim does
  44. ValdikSS It's not only about gajim, it's also about compatibility with other clients. I believe Gajim should show the image even if there's no body tag in the message.
  45. ValdikSS Because if I will send OOB data in the first message, which contains text, it will be shown in for example Psi+, and the next message with OOB and without body will also be visible, so you would have a duplicate of the image.
  46. Link Mauve ValdikSS, you shouldn’t expose a single participant speaking on the behalf of everyone, that’s an extremely bad UX since it doesn’t allow other participants to know who is actually in the room, how to interact with them, etc.
  47. Link Mauve A much better solution is to join it multiple times, using the nick of each of the participants on the other side.
  48. Link Mauve This requires either multiple client connections (since a single resource can only join a room once at a time), or your bot having a component JID, and thus unlimited “resources”.
  49. ValdikSS I know, but as for now this is not possible. This is planned though.
  50. Link Mauve A few examples of bots are using both solutions, if you want some insight on the issues they had to solve.
  51. Link Mauve Ok.
  52. lovetox I feel the real problem here is, that you care what conversations does
  53. lovetox that conversations doesnt show a oob url as image if the body is different, is a UI descision that you should not care about
  54. lovetox it could change
  55. lovetox that you even need oob data at all and conversations doesnt just display any link in a message, is also a design decision
  56. ValdikSS I care what other clients do too
  57. ValdikSS Gajim doesn't do this too
  58. lovetox but you care how they display it, i mean this is bound to fail, you can never make something displaying equally on all clients
  59. lovetox you should care about sending all necessary data that a client can decide how he wants to display something
  60. ValdikSS Even with "preview all image urls" option enabled
  61. lovetox please post an example what you want to send stanza wise
  62. lovetox if i understand this write you split it into multiple messages
  63. lovetox so you send one message with only a body
  64. lovetox then a message with only oob
  65. ValdikSS lovetox, <message to='iam@valdikss.org.ru/laptop_' type='groupchat' xml:lang='en' from='testbr@muc.valdikss.org.ru/Bridged'> <body>*&lt;nickname&gt;* https://xup.valdikss.org.ru:41280/0ddaea40dd918430b64e3e0b0760d55ff6dc83ba/file_4772.jpg</body> </message>
  66. ValdikSS lovetox, <message to='iam@valdikss.org.ru/laptop_' type='groupchat' xml:lang='en' from='testbr@muc.valdikss.org.ru/Bridged'> <x xmlns='jabber:x:oob'> <url>https://xup.valdikss.org.ru:41280/0ddaea40dd918430b64e3e0b0760d55ff6dc83ba/file_4772.jpg</url> </x> </message>
  67. bot Daniel modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/7675 >: #7675: < New "autoimprove_security" option. >
  68. bot Daniel modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9152 >: #9152: < Gajim aborts on load if gnome-keyring isn’t launched >
  69. bot Andrey Gursky created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9154 >: #9154: < Gajim hangs during closing with url-image-preview plugin >
  70. bot Daniel created an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/320 >: #320: < Gajim hangs during closing with url-image-preview plugin >
  71. bot Daniel closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9154 >: #9154: < Gajim hangs during closing with url-image-preview plugin >
  72. bot Daniel modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/320 >: #320: < Gajim hangs during closing with url-image-preview plugin >
  73. bot Daniel modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/320 >: #320: < Gajim hangs during closing with url-image-preview plugin >
  74. Nothing4You i'm trying to launch gajim on osx
  75. Nothing4You when i'm trying to connect to my server though i get the error "Unable to get local issuer certificate"
  76. Nothing4You it's working fine on other machines (gajim on linux, conversations)