V
V
vikholodov2018-08-31 15:00:33
Django
vikholodov, 2018-08-31 15:00:33

How to make post status offline?

Hi all!
Such a dilemma. There is a chat between 2 users. Each message has a read status (true/false). A 3rd person appears in this chat, or rather, a bot, which also leaves exactly the same message. Both users see this message as unread until one of them reads it. Those. who managed, he ate. The question is how to competently make an offline status that will change for each user separately, without radically changing the entire system (a lot is tied to this status, background tasks, notifications, etc.)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vikholodov, 2018-09-05
@vikholodov

m2m set the field instead of boolean, it works like normal

D
Dimonchik, 2018-08-31
@dimonchik2013

technically do it
mentally

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question