fixed: html-escape in attachments
fixed: groupchats are members-only again
fixed: ignore error-cods 1,9,100
added: xhtml-im in groupchats
added: groupchats deletion when user ungregistered
also: a little code cleanup