[MOD] Add x-parsee tag with metadata, global nicks

Still need to grab it on the room-level from the room state if possible,
otherwise just rollback to the MXID.

I also need to consider profile pictures and bridging media, and check
if the nick was present XMPP-side first, as that can and will cause
issues, especially around semi-anonymous MUCs.
This commit is contained in:
LDA 2024-06-22 22:43:58 +02:00
commit b820a441ed
9 changed files with 102 additions and 6 deletions

View file

@ -7,6 +7,7 @@
# =========================== Parsee Flags =============================
NAME=Parsee
VERSION=0.0.0
REPOSITORY=$(shell git remote get-url origin)
# =========================== Compilation Flags ============================
CYTO_INC=/usr/local/include/ # Where Cytoplasm's include path is
@ -18,7 +19,7 @@ SOURCE=src
OBJECT=build
INCLUDES=src/include
CC=cc
CFLAGS=-I$(INCLUDES) -I$(CYTO_INC) -DNAME="\"$(NAME)\"" -DVERSION="\"$(VERSION)\"" -g -ggdb
CFLAGS=-I$(INCLUDES) -I$(CYTO_INC) -DNAME="\"$(NAME)\"" -DVERSION="\"$(VERSION)\"" -DREPOSITORY=\"$(REPOSITORY)\" -g -ggdb
LDFLAGS=-L $(CYTO_LIB) -lCytoplasm -Wl,--export-dynamic
BINARY=parsee
# ============================ Compilation =================================