Failed to send file to openfire group chat

I create rooms in openfire.

If you want to send files to a room so that it can distribute this file to all room tenants.

I am doing this with a single file transfer, following this post:

http://harryjoy.me/2012/08/18/file-transfer-in-android-with-asmack-and-openfire /

Now I can not send the file to the group. What I do instead of sending the file to the user, I just replace the username with the group name:

OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer(" usre2@myHost /Smack"); 

to =>

  OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer(" groupname@conference.myHost "); 
+4
source share
1 answer

OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer (" groupname@conference.myHost / groupmember");

0
source

Source: https://habr.com/ru/post/1490743/


All Articles