MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / api_location_stop

Function api_location_stop

Scripts/ButSystem.py:14256–14271  ·  view source on GitHub ↗

api_location_stop. Route handler or application helper. This docstring was expanded to make future maintenance easier. Returns: Varies.

()

Source from the content-addressed store, hash-verified

14254_DM_ROW_TEMPLATE = r"""
14255<div class="msg-row {{ 'me' if m.sender==me else 'them' }}">
14256 <div class="bubble {{ 'me' if m.sender==me else 'them' }}" data-mid="{{ m.id }}" data-kind="{{ m.kind }}" data-sender="{{ m.sender }}">
14257 {% if m.kind == 'text' %}
14258 <span class="msg-text">{{ m.body }}</span>
14259 {% if m.edited_at_local %}<span class="small-muted"> (edited)</span>{% endif %}
14260 {% elif m.kind == 'voice' %}
14261 <audio controls preload="metadata">
14262 <source src="{{ url_for('dm_voice_stream', vid=m.voice_id) }}" type="{{ m.voice_mime }}">
14263 </audio>
14264 {% elif m.kind == 'file' %}
14265 {% if m.file_is_image %}
14266 <img src="{{ url_for('dm_file_stream', fid=m.file_id) }}" alt="{{ m.file_name }}"/>
14267 {% elif m.file_is_video %}
14268 <video controls playsinline preload="metadata">
14269 <source src="{{ url_for('dm_file_stream', fid=m.file_id) }}" type="{{ m.file_mime }}">
14270 </video>
14271 {% elif m.file_is_audio %}
14272 <audio controls preload="metadata">
14273 <source src="{{ url_for('dm_file_stream', fid=m.file_id) }}" type="{{ m.file_mime }}">
14274 </audio>

Callers

nothing calls this directly

Calls 3

current_userFunction · 0.70
db_connectFunction · 0.70
now_zFunction · 0.70

Tested by

no test coverage detected