Syntax error fixed. xmpp_client:send_presence/3 removed