jdev - 2019-12-10

  1. DebXWoody

    Hi. When I send a iq <query xmlns='http://jabber.org/protocol/disco#items'/> I get each items 2 times. First without name-tag second with name tag. Is this correct?

  2. DebXWoody

    not name-tag it's the name attribute

  3. Zash

    Can you paste an example?

  4. DebXWoody


  5. lovetox


  6. lovetox

    every iq has exactly one response

  7. lovetox

    ah you mean the content

  8. lovetox

    no this looks wrong

  9. Zash

    Yeah it's weird that there are duplicate JIDs

  10. pep.

    Does anything actually say there MUST be only one?

  11. lovetox

    no, because it makes no sense

  12. lovetox

    it probably doesnt blow up stuff, but its cleary a bug

  13. lovetox

    i see no use case for that

  14. Link Mauve

    DebXWoody, this looks like a bug in either your server implementation or your deployment, but I’m not sure it should be forbidden either.

  15. Zash

    Or configuration

  16. DebXWoody

    Ok,.. I will check. Thanks a lot. I think will remove the disco_items from the config.

  17. Link Mauve

    Deployment’s configuration yeah.

  18. Zash

    DebXWoody: Prosody?

  19. DebXWoody

    I get the result with my gloox program and with gajim.

  20. DebXWoody

    Zash, yes

  21. Zash

    Prosody automatically adds all subdomains to disco#items and I'm not sure if you can set a name of them.

  22. DebXWoody

    I just removed `disco_items = { "domain", "Name"... ` Looks good now.

  23. Link Mauve

    You can if you use the table syntax.

  24. DebXWoody

    Thank you

  25. Zash

    You can set `name = "blah"` under each host / component

  26. Zash

    > The value of the 'node' attribute MUST NOT be null. What does this even mean in XML?

  27. lovetox


  28. lovetox


  29. nykb

    im pretty lost on how to send a simple picture/image in a chat using the Tigase swift client , and Document reference will be appreciated ,Thanks in advance

  30. pep.

    nykb, this is a developer channel, maybe ask in the tigase support channel?

  31. pep.

    (Sorry I don't use any of their clients)

  32. pep.

    Also Swift is Isode no?

  33. pep.


  34. nykb

    Thank you so much

  35. nykb

    i mean Swift IOS

  36. nykb

    pep. is swift@rooms.swift.im as existing room ?

  37. Zash


  38. nykb

    You are not allowed to create new groupchats. The reason given is: "Communication with remote domains is not enabled".

  39. nykb

    Thats what i get opening the link above

  40. pep.

    Kev, ^

  41. nykb

    sorry ?

  42. lovetox

    pep. his server tells him that

  43. pep.

    nykb, I pinged somebody "who knows"

  44. lovetox

    nothing swift.im can do

  45. Kev

    What lovetox says. That doesn't sound like us.

  46. lovetox

    but why would you try to create a room

  47. lovetox

    just join it

  48. Kev

    Or their server has a very confusing error.

  49. pep.

    ahhh, indeed

  50. pep.

    Why would they be able to join here though

  51. lovetox

    yeah thats what i thought

  52. pep.

    Or maybe it's just whitelisted

  53. pep.


  54. Kev


  55. Kev

    But ... right, that.

  56. lovetox

    ah is the jid correct?

  57. lovetox

    if not it would autocreate a room

  58. pep.

    lovetox, I copied it from search.jabber.network

  59. lovetox

    yeah i checked its correct

  60. lovetox


  61. pep.

    nykb, contact your own server admin, it seems they didn't enable communication to that server

  62. lovetox

    works fine here

  63. nykb

    i join this chat room from the web , do i need to contact a server admin to join xmpp:swift@rooms.swift.im?join ?

  64. pep.

    nykb, oh

  65. pep.

    Makes sense now

  66. pep.

    The webchat you are using is just for muc.xmpp.org services (this channel, and other XSF related channels), not for other services

  67. moparisthebest

    pep., nykb , but that's totally unrelated to swift the language from apple, you won't find tigase support there

  68. nykb


  69. pep.

    moparisthebest, I have no clue I don't use these clients

  70. pep.

    Maybe you can guide nykb better :)

  71. nykb

    moparisthebest where can i find swift support

  72. moparisthebest

    I said the other day he should find the tigase support MUC

  73. moparisthebest

    I don't have a link

  74. Zash

    nykb: https://search.jabber.network/search?q=tigase

  75. nykb

    pep. you said you pinged someone who knew ?

  76. nykb

    Zash is there anyway i can join this chat room ?http://xmpp:swift@rooms.swift.im/?join

  77. jonas’

    nykb, not without a proper xmpp client and a proper account

  78. Zash

    what jonas’ said

  79. Zash

    And if you are looking for the language Swift then that's not what you want

  80. nykb

    i searched here for swift and i got this https://search.jabber.network/search?q=tigase

  81. nykb

    Zash which xmpp client will you suggest for a macOS user ?

  82. Zash

    nykb: Sorry, can't really help you with that.

  83. moparisthebest

    does gajim work for macos? I don't really know either

  84. nykb

    okay i just installed Adium , but i get the options to join a chat room

  85. nykb

    let me check gajim out

  86. moparisthebest

    https://gajim.org/download/#macos "MacOS instructions to follow." ha that's not so helpful

  87. nykb

    Yeah i dont see any instructions there

  88. Link Mauve

    moparisthebest, yes, see https://dev.gajim.org/gajim/gajim/wikis/help/GajimMacOSX

  89. nykb

    im giving it a try

  90. nykb

    Zash you said "And if you are looking for the language Swift then that's not what you want"

  91. nykb

    what do you mean by that ?

  92. Zash

    nykb: The room address was for an XMPP client called Swift which is written in C++ and Qt.

  93. nykb

    oh okay

  94. Zash

    Easy to confuse them

  95. nykb

    i mean Swift IOS programing language

  96. jonas’

    I’m pretty sure you don’t mean IOS

  97. jonas’

    (but rather iOS)

  98. Zash

    Yes, I got that. Ignore me.

  99. Zash

    Apple just can't keep itself from stealing everyone elses names, can it?

  100. jonas’

    because IOS is this: https://en.wikipedia.org/wiki/Cisco_IOS

  101. Zash

    Didn't Cisco have an "IPhone" too?

  102. nykb

    Zash Hahaha

  103. Zash

    And Swift (the XMPP client) predates the Swift language AFAIK

  104. Zash


  105. nykb

    Linksys was created before apple Iphone ?

  106. Zash

    > The first iPhone was released in 1998

  107. Zash

    Also see Apple (record company) vs Apple (computer company)

  108. nykb


  109. nykb

    so there is really no chat room for iOS swift ?

  110. Zash

    Start one

  111. moparisthebest

    nykb, the language or specifically the tigase client? because there is a support chat for tigase

  112. nykb

    Sorry i meant the TIGASESWIFT library

  113. moparisthebest

    so, I think there is one of those

  114. Link Mauve

    jonas’, IOS for me is this one: https://wiibrew.org/wiki/IOS

  115. moparisthebest

    it was linked before xmpp:tigase@muc.tigase.org?join

  116. moparisthebest

    and if not that, they'd at least be able to tell you where to go

  117. moparisthebest

    Link Mauve, lol I was just about to say that, that's what I think of when I see IOS

  118. nykb

    moparisthebest you think there is one of those ?