Squashed commit of the following:
commit 8e33952869831f620fa289f1bc997128a40eaee3
Author: Martin Dosch <martin@mdosch.de>
Date: Tue May 9 21:22:40 2023 +0200
Clean go.mod
commit 11bb88fca2d4bb76557e912f46f726e675e0b0cb
Merge: 8d45413b01ed4b
Author: Martin Dosch <martin@mdosch.de>
Date: Tue May 9 21:21:48 2023 +0200
Merge branch 'master' into singlequotes
commit 8d45413f05
Author: Martin Dosch <martin@mdosch.de>
Date: Tue May 2 09:39:54 2023 +0200
Add more singlequotes. :)
commit c496e2596a
Author: Martin Dosch <martin@mdosch.de>
Date: Tue May 2 09:35:12 2023 +0200
Use single quotes.
commit e4556759d8
Author: Martin Dosch <martin@mdosch.de>
Date: Tue May 2 07:25:09 2023 +0200
Use single quotes for XML attributes.
Calling client.Recv() multiple times caused messages not appear
in `--listen` mode as calling Recv() for receiving IQs (e.g. for
receiving Ox keys) also received the messages so they were no longer
available for the Recv in the listening function.
Prior to this commit [1] it was necessary to provide a
name and an email address for key generation. So the
UID of the key had the format `xmpp:user@example.com
<xmpp:user@example.com>` whereas XEP-0373 defines the
UID in the format `xmpp:user@example.com`.
[1] 74905cd51f