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

Function group_voice_stream

Scripts/ButSystem.py:15059–15093  ·  view source on GitHub ↗

Stream a group voice message.

(vid: int)

Source from the content-addressed store, hash-verified

15057 conn.execute("INSERT INTO dm_call_signals(call_id, sender, kind, payload, created_at) VALUES(?,?,?,?,?)",
15058 (call_id, me, "hangup", "{}", now_z()))
15059 conn.commit()
15060 conn.close()
15061 return jsonify({"ok": True})
15062
15063
15064
15065
15066# ---------------------------
15067# Live location sharing
15068# ---------------------------
15069
15070@app.route("/locations")
15071@login_required
15072def live_locations():
15073 """live_locations.
15074
15075Route handler or application helper.
15076
15077This docstring was expanded to make future maintenance easier.
15078
15079Returns:
15080 Varies.
15081"""
15082 me = current_user()
15083 return render_template("live_locations.html", title="Live Locations", me=me)
15084
15085@app.route("/api/location/update", methods=["POST"])
15086@login_required
15087def api_location_update():
15088 """api_location_update.
15089
15090Route handler or application helper.
15091
15092This docstring was expanded to make future maintenance easier.
15093
15094Returns:
15095 Varies.
15096"""

Callers

nothing calls this directly

Calls 6

current_userFunction · 0.70
db_connectFunction · 0.70
group_roleFunction · 0.70
_chat_lock_is_unlockedFunction · 0.70
is_encrypted_fileFunction · 0.70
aesgcm_decrypt_generatorFunction · 0.70

Tested by

no test coverage detected