Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

need to press enter twice or use shift + enter #49

Closed
Tracked by #22
p0lygun opened this issue Jul 29, 2022 · 3 comments
Closed
Tracked by #22

need to press enter twice or use shift + enter #49

p0lygun opened this issue Jul 29, 2022 · 3 comments

Comments

@p0lygun
Copy link
Member

p0lygun commented Jul 29, 2022

No description provided.

@p0lygun
Copy link
Member Author

p0lygun commented Jul 29, 2022

@noahlias try to add this
checkout main, create a new branch like feature/custom-send

@p0lygun
Copy link
Member Author

p0lygun commented Jul 29, 2022

@noahlias
add the logic to

def send_message(self, message: str):
"""Send message to server."""
if message:
msg_data = {
"type": "msg.send",
"other_id": self.other_user,
"data": message,
"timestamp": str(datetime.now().timestamp()),
"room_id": self.name,
}
self.disable_chat_input = True
self.app.send_data(value=msg_data)

check for self.times_validated and execute logic accordingly

@noahlias
Copy link
Contributor

ok, I understand

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants