comparison sat_pubsub/tap.py @ 282:7d54ff2eeaf2

actually retrieve the MAM messages
author souliane <souliane@mailoo.org>
date Thu, 15 Jan 2015 22:00:49 +0100
parents 30895c49ebd2
children 002c59dbc23f
comparison
equal deleted inserted replaced
281:30895c49ebd2 282:7d54ff2eeaf2
149 rc = RosterClient() 149 rc = RosterClient()
150 rc.setHandlerParent(cs) 150 rc.setHandlerParent(cs)
151 bs.roster = rc 151 bs.roster = rc
152 152
153 if const.FLAG_ENABLE_MAM: 153 if const.FLAG_ENABLE_MAM:
154 mam_resource = mam.MAMResource() 154 mam_resource = mam.MAMResource(bs)
155 mam_s = wokkel_mam.MAMService(mam_resource) 155 mam_s = wokkel_mam.MAMService(mam_resource)
156 mam_s.setHandlerParent(cs) 156 mam_s.setHandlerParent(cs)
157 157
158 return s 158 return s