jdev - 2020-01-26


  1. Link Mauve

    xmppnoob, you may also be interested in starting from an existing client, rather than writing everything from scratch.

  2. Link Mauve

    Also on mobile.

  3. rion

    Which sides sends ibb open for a jingle transport? A session initiator or a transport creator? They are not always the same

  4. rion

    It can be also content creator. So one of three

  5. rion

    Seems like it's always session initiator according to the diagram in the xep. So doesn't matter which side added the content or replaced the transport. Is it so?

  6. flow

    lovetox, I just invited someone to a members only room via gajim. It would be great if gajim would asked if I want to make the bare jid a member prior inviting. Do you want me to create a feature request (if there is none already)?

  7. lovetox

    does that question make sense?

  8. lovetox

    there is no choice there

  9. jonas’

    I think it should simply always do that if it can, and use mediated + warning if it can’t

  10. flow

    well I could be unware that it's a members only room, but fair point

  11. lovetox

    of course the whole topic is a bit of a mess

  12. lovetox

    and one of the topics in xmpp that you cant do right in all circumstances

  13. lovetox

    this definitly deserves a wiki entry

  14. lovetox

    i will soon touch that code in Gajim then i will look into it

  15. lovetox

    first question to me would be if servers show muc#roomconfig_allowinvites in disco info

  16. lovetox

    or if i need to pull the config, which is impossible as non admin

  17. lovetox

    if servers dont expose that, i would simple disallow any non admin to invite people into a member-only room

  18. lovetox

    and as an admin, i would use a mediated invite, and hope the server implements adding the invitee automatically

  19. MattJ

    I think prosody exposes that in disco

  20. lovetox

    really the whole room config should be exposed, i see no sense in hiding it

  21. MattJ

    Password and all :)

  22. lovetox

    ok you found one :

  23. lovetox

    ok you found one :D

  24. jonas’

    lovetox, some room config may also be anti-abuse, and those options should typically be hidden

  25. lovetox

    hm i read the RFC and for me its clear, but just to be sure i ask

  26. lovetox

    a roster push item, is never a diff

  27. lovetox

    means i can fill all attributes that are not in the item

  28. lovetox

    with default values

  29. jonas’

    it replaces the previous item for that JID, except if it’s set to "delete", then it removes that item

  30. jonas’

    essentially

  31. lovetox

    yeah i meant when i receive the push

  32. lovetox

    but i guess its the same

  33. lovetox

    ok then i dont know why i added that weird code i found

  34. lovetox

    especially the question is about "name" attr

  35. lovetox

    say a roster item has a name="Romeo"

  36. lovetox

    and i change this roster item, but modify only the groups

  37. lovetox

    the server must always include name=Romeo, in the following pushes

  38. lovetox

    or not?

  39. lovetox

    even if the update didnt modify the name attr

  40. MattJ

    lovetox: the push contains the full entry

  41. lovetox

    yeah thanks thats what i was looking for

  42. lovetox

    you formulated with one sentence what i tried to describe with 10 :d

  43. MattJ

    So if name existed and is missing in the push, that means it was removed