live_locations. Route handler or application helper. This docstring was expanded to make future maintenance easier. Returns: Varies.
()
| 14200 | |
| 14201 | return render_template( |
| 14202 | "chat_page.html", |
| 14203 | title=f"Chat {username}", |
| 14204 | me=me, |
| 14205 | peer=username, |
| 14206 | peer_display=peer_display, |
| 14207 | is_self_chat=is_self_chat, |
| 14208 | peer_online=peer_online, |
| 14209 | messages=msgs, |
| 14210 | last_id=last_id, |
| 14211 | has_chat_pin=has_chat_pin, |
| 14212 | ) |
| 14213 | |
| 14214 | |
| 14215 | def _dm_build_message_dict(conn, r, me: str) -> Dict[str, Any]: |
| 14216 | """Build a DM message view dict (same logic as chat_with) for one dm_messages row.""" |
nothing calls this directly
no test coverage detected