Make a chat group xxx

posted by | Leave a comment

Or any other Plugin that i need to install for the same. It stored one-one chat properly, but it not storing group stanza in ofmessage Archive table.where I am going wrong? Exactly group messages are stored in ofmessagearchive table.

I am maintaining separate table to store group messages now on the server cron job runs at every 10 seconds but group messages ( chats ) are stored approx after 30 seconds in to ofmessagearchive table.

If your sessions are supposed to last for a long time, it might be useful to have some mechanism for key re-negotiation at some point.

Also, since in this system the initial client decides on the encryption key, you will have to be very careful about how that key is chosen as not to weaken the whole security by using a simple key and you should implement some way for the other parties in the conversation to reject a "weak" key (not forcing a renegotiation, just rejecting the connection) Would there be any particular problem with picking a new session key every time someone enters or leaves [perhaps numbering them], and sending out messages saying "Public-message session key #20, encrypted with session key #19, is XXX", and providing a means by which a client that missed one (or more) session-key updates could say "I'm XXX; please tell me session key #20 encrypted with either session key #16 or my public key?

This was built using Angular JS, with most connection stuff being handled by socket.io, for more details see my blog post .

To get this working you'll need to have some environment variables set up, in devo you can make a file in server\that looks like this: There are also a few gotchas related to installation, you'll need to follow the setup instructions for node-gyp, and your steam user will also need to have Steam Guard disabled and it must own a game or be an administrator of the group before it will be allowed to join the chat room.

If we go by this approach then we are clueless about implementing it in case of group chat. Your best bet is probably to have the idea of a chat session and use a session key for the duration of it.

Symmetric encryption is far faster and more secure than asymmetric, so if you have the session host decide on a session key and then encrypt that with each member of the conversation's public key and send them out, then each party would have the same session key and be able to participate in the conversation.

The Groups feature allows you to link visitors into specific operator groups, so their chats go to the correct group of operators on your website. This guide has two parts: We offer 2 options for locking your visitors into Operator Groups. Using both could result in some conflicting Groups behavior.

Alternately, you could simply encrypt the message for every recipient or setup unique sessions with each recipient, but this is a far slower and more processor intensive process, though it still uses roughly the same amount of data since the messages have to sent individually to each recipient anyway (unless you are using a server based relay).

The main problem with this is how to vet for the new client: obviously, you need to perform that validation in a "strong" way because once someone obtains the session key, all messages - past and future using that key can be decrypted.

Runs as a web server that is paired with a steam user in the background.

When someone visits the website, the steam user will join a specific chat room and all messages in the room will be echoed in the app, and you can also send messages that will be send to the room using the steam user.

Leave a Reply

100  dating home