Commit 7ad4ff28 authored by nkour's avatar nkour

remove two prints we do not need

parent caade489
......@@ -113,16 +113,13 @@ def jid_is_from_pm(self, jid):
and after that all okay'''
possible_room_jid, possible_nick = jid.split('/', 1)
print possible_room_jid
cur.execute('SELECT jid_id FROM jids WHERE jid="%s" AND type=%d' %\
(possible_room_jid, constants.JID_ROOM_TYPE))
row = cur.fetchone()
if row is not None:
print 'PM!!!!!!!!!!!!!'
return True
print 'NOT PM!!!'
return False
def get_jid_id(self, jid):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment