Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
If the message is being sent in reply to a message previously received from an address of the form <user@domain/resource> (e.g., within the context of a chat session), the value of the 'to' address SHOULD be of the form <user@domain/resource> rather than of the form <user@domain> unless the sender has knowledge (via presence) that the intended recipient's resource is no longer available.Ну опять же. RFC в виде требования (то есть SHOULD) пишет:
SHOULD
This word, or the adjective «RECOMMENDED», mean that there
may exist valid reasons in particular circumstances to ignore a
particular item, but the full implications must be understood and
carefully weighed before choosing a different course.
Все эти хитрости не казались мне хитростями потому как я считаю протокол все их предусматривал и никаких недокументированных возможностей я не использовал :)Хитрости — это то, чего 99% пользователей не использует. Неважно что написано в протоколе: если фича никем не используется, то она, скорее всего, не будет реализована. Или будет реализована с ошибками.

Возможности XMPP и Jabber клиенты