How to negotiate stanzas with the server? My client cannot receive binary data just text messages

I would like to tell the ejabber server that my client cannot receive binary data such as files and images. I would like to know if there is a way to configure the server or if I can program my client to send to the server a list of things that it can receive.

My client is an embedded microprocessor that is using XMPP to send/receive very small text messages anything that is not "text" is causing my client to crash.

So for example, a Pidgin client sent an avatar to my client which caused it to crash for running out of buffer space.

I appreciate any suggestions you may have.

Cheers,
Gil

Syndicate content