mod_muc_markers/mod_muc_markers.lua
changeset 4060 554f64c8d0c0
parent 4037 7b6bcb91493e
child 4069 92152437ecfe
equal deleted inserted replaced
4059:cf1304ad2336 4060:554f64c8d0c0
    93 --luacheck: ignore 131
    93 --luacheck: ignore 131
    94 
    94 
    95 function get_user_read_marker(user_jid, room_jid)
    95 function get_user_read_marker(user_jid, room_jid)
    96 	return muc_marker_map_store:get(user_jid, room_jid);
    96 	return muc_marker_map_store:get(user_jid, room_jid);
    97 end
    97 end
       
    98 
       
    99 function is_markable(stanza)
       
   100 	return not not stanza:get_child("markable", xmlns_markers);
       
   101 end