Lance Stout
86d8736dcc
Hash JIDs based on full JID string.
This makes JID objects equivalent to strings in dictionaries, etc.
>>> j = JID('foo@example.com')
>>> s = 'foo@example.com'
>>> d = {j: 'yay'}
>>> d[j]
'yay'
>>> d[s]
'yay'
>>> d[s] = 'yay!!'
>>> d[j]
'yay!!'
2012-01-17 23:03:48 -08:00
..
2011-12-04 16:26:14 -08:00
2012-01-17 22:28:44 -08:00
2010-10-17 22:04:42 -04:00
2011-11-22 16:33:38 -08:00
2012-01-17 23:03:48 -08:00
2011-12-04 16:43:05 -08:00
2012-01-17 22:28:44 -08:00
2009-06-03 22:56:51 +00:00
2009-06-03 22:56:51 +00:00
2009-06-03 22:56:51 +00:00
2011-11-22 16:25:33 -08:00
2012-01-17 22:14:24 -08:00