jdev - 2019-09-15


  1. Hes

    hi

  2. ali

    hi all

  3. ali

    i want to know how to use it in php

  4. moparisthebest

    "it" ?

  5. lovetox

    hm interesting, owners can only revoke ownership of a muc themself

  6. lovetox

    at least on ejabberd

  7. lovetox

    but it seems it should be possible when reading 0045

  8. lovetox

    ah ejabberd has protection for the room creator

  9. Zash

    Huh, another special affiliation?

  10. lovetox

    seems like it

  11. lovetox

    hm something unexpected

  12. lovetox

    on ejabberd if i make someone admin

  13. lovetox

    he has role=moderator, affiliation=admin

  14. lovetox

    as it should be

  15. lovetox

    if i revoke admin, with sending affiliation=none

  16. lovetox

    ejabberd still keeps the role=moderator

  17. lovetox

    prosody does not do this

  18. Zash

    I guess both are technically legal? Affiliation and role can be set independently and the language in xep-0045 is pretty vauge regarding affilitation changes affecting roles

  19. lovetox

    yes its legal

  20. lovetox

    but ejabberd is inconsistent in that regard

  21. lovetox

    if i revoke admin rights with setting affiliation to member, it applies the default role participant

  22. lovetox

    so i guess this is a bug