From 3f1a015f2316ad5758c57cfb7883412dc77d3bf9 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Fri, 2 Jun 2023 12:56:54 +0300

Subject: [PATCH 1/1] Added "mute" table

IssueID #51


model.py | 8 ++++++++

1 file changed, 8 insertions(+)

diff --git a/model.py b/model.py

index cba9568..500cb64 100644

--- a/model.py

+++ b/model.py

@@ -24,6 +24,7 @@ def parse_asn1_time(asn1_bytes):

NOTE: All enum values are used in database, don't change them!

FOLLOW_USER, FOLLOW_POST, FOLLOW_SUBSPACE = range(3)

+MUTE_USER, MUTE_POST, MUTE_SUBSPACE = range(3)

class Segment:

@@ -496,6 +497,13 @@ class Database:

         UNIQUE KEY (user, type, target)

     )""")

     db.execute("""CREATE TABLE IF NOT EXISTS likes (

         user        INT NOT NULL,

         post        INT NOT NULL,

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/patch/3f1a015f2316ad5758c57cfb7883412dc77d3bf9.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
28.559689 milliseconds
Gemini-to-HTML Time
0.659934 milliseconds

This content has been proxied by September (ba2dc).