Skip to content

Commit

Permalink
passing own-id
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Nov 23, 2023
1 parent e9c5824 commit c49fc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def send() -> None:
stamp = datetime.utcnow().strftime('%X')
messages.append((user_id, avatar, text.value, stamp))
text.value = ''
chat_messages.refresh()
chat_messages.refresh(user_id)

user_id = str(uuid4())
avatar = f'https://robohash.org/{user_id}?bgset=bg2'
Expand Down

0 comments on commit c49fc34

Please sign in to comment.