gochat | Golang chat room instance
kandi X-RAY | gochat Summary
kandi X-RAY | gochat Summary
Golang chat room instance
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Reads from websocket
- readPump pumps messages from the connection
- serve a websocket connection
- serveHome serves the home page .
gochat Key Features
gochat Examples and Code Snippets
Community Discussions
Trending Discussions on gochat
QUESTION
my messages.ts page is parent and chat-room.ts is child page. There is no problem when I enter messages page but when i select any user for chat and I go to the chat room and create a new message , The person I am talking to is added one more time into the array.How can i fix this?
First enter message page = https://prnt.sc/uviwvo
second when i talk e.g"Tosun" user = https://prnt.sc/uvixxe
Finnaly when i come back (here is a problem) added once again into array =https://prnt.sc/uviyl3
message.page.ts:
...ANSWER
Answered 2020-Oct-08 at 14:39You need to refresh the userInfo
list when you back again. The same UserInfo will always push in here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gochat
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page