I am using swampdragon, I have a model named "Notification" that used a "SelfPublishModel" and the Router is a "ModelPubRouter", inside of notification router I have:
def get_subscription_contexts(self, **kwargs):
if self.connection.user is None:
return {}
return {'user__id': self.connection.user.pk}
That was worked very well before in several tests, but after an user tells me that He had received a notification from other user. I seen the error and it's true, but i don't know what is the problem...
@jonashagstedt I hope that you can help me! Thanks!
Hello,
I am using swampdragon, I have a model named "Notification" that used a "SelfPublishModel" and the Router is a "ModelPubRouter", inside of notification router I have:
That was worked very well before in several tests, but after an user tells me that He had received a notification from other user. I seen the error and it's true, but i don't know what is the problem...
@jonashagstedt I hope that you can help me! Thanks!