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
..
2012-01-17 22:14:24 -08:00
2012-01-15 22:51:59 -08:00
2012-01-16 16:59:45 -02:00
2012-01-12 17:21:43 -08:00
2012-01-17 22:14:24 -08:00
2012-01-07 00:19:08 -05:00
2012-01-17 23:03:48 -08:00
2011-08-24 22:09:02 -07:00
2012-01-12 22:26:15 -08:00
2012-01-17 22:14:24 -08:00
2011-12-05 20:37:47 -08:00
2011-12-05 08:55:05 -08:00
2012-01-03 17:04:15 -05:00