anchor.diff:           terminate/2, code_change/3]).
   
   -define(SERVER, ?MODULE).
  +
  +-define(STATUS, <<"Ready">>).
   
   -record(state, {session,
                   jid :: #jid{},
  
positive.code: room_presence(RoomJid = #jid{}, Nick) ->
    RoomBin = exmpp_jid:to_binary(RoomJid),
    To = exmpp_xml:attribute(<<"to">>, <<RoomBin/binary,"/",Nick/binary>>),
    P0 = exmpp_presence:presence(available, <<"Ready">>),
    exmpp_xml:set_attribute(P0, To).
  
  -spec add_room(#jid{}, #state{}) -> #state{}.
  
negative.code:   Photo0 = exmpp_xml:element(undefined, 'photo', [], []),
    Photo = exmpp_xml:set_cdata(Photo0, Id),
    X = exmpp_xml:element('vcard-temp:x:update', 'x', [], [Photo]),
    Presence0 = exmpp_presence:presence(available, ?STATUS),
    exmpp_xml:set_children(Presence0, [X]).
  
  hexstring(<<X:128/big-unsigned-integer>>) ->
  