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

Function face_detector_page

Scripts/ButSystem.py:15718–15730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15716"""
15717 self.__dict__.update(dict(r))
15718
15719 if has_group_pin and not group_unlocked:
15720 conn.close()
15721 return render_template("group_locked.html", title="Group chat",
15722 g=Obj(g_row), my_role=role, members=[type("M", (), m)() for m in members],
15723 all_users=all_usernames(), me=me)
15724
15725 msg_rows = conn.execute("""
15726 SELECT id, sender, body_enc, created_at
15727 FROM group_messages WHERE group_id=? ORDER BY id ASC LIMIT 400
15728 """, (gid,)).fetchall()
15729
15730 messages = []
15731 for r in msg_rows:
15732 v = conn.execute("SELECT id, mime FROM group_voice WHERE gm_id=? ORDER BY id DESC LIMIT 1", (r["id"],)).fetchone()
15733 has_voice = bool(v)

Callers

nothing calls this directly

Calls 5

user_is_adminFunction · 0.70
current_userFunction · 0.70
_Function · 0.70
_face_detector_i18nFunction · 0.70

Tested by

no test coverage detected