File broadcast in muc

Hello,

I was wondering if someone has already thought about broadcasting small-sized files to all participants of a MUC.

I’‘m thinking about using custom packet extension to add base64-encoded blocks of the file to send. I’'d like to hear hints and advices to save time.

Regards,

fabio

fabio,

If the files are pretty small and there aren’‘t too many users, I think putting the data in messages as a base-64 custom packet extension is a decent and easy solution. It’‘s not very “XMPP-centric” but sometimes the easiest solution is best. The “right” solution would probably be to figure out a way to adopt the file transfer JEP’'s to a MUC environment.

Regards,

Matt

Thanks Matt!

Cant wait to have this new feature in Smack.

However, as you suggest, I’'ll go with this ad hoc solution for the time being.

Thanks again.

Ciao,

Fabio

matt,

will this ad hoc solution work also for “laggers”? That is, is it granted that, if some one joins a group chat after a bit, all delay messages will be sent in chronological order?

Thanks