public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chatty] f44: Update patch for login fix for uppercase usernames
@ 2026-10-24 11:04 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-24 11:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chatty
Branch : f44
Commit : 35a002b0cdb13392d5a9f47130c1c47902c958c9
Author : Tomi Lähteenmäki <lihis@lihis.net>
Date   : 2026-10-24T14:04:23+03:00
Stats  : +29/-28 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/chatty/c/35a002b0cdb13392d5a9f47130c1c47902c958c9?branch=f44

Log:
Update patch for login fix for uppercase usernames

---
diff --git a/116.patch b/116.patch
deleted file mode 100644
index 5e3fd7a..0000000
--- a/116.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 20055b5436bab8cea7085702e224fd109692a2f6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
-Date: Tue, 14 Apr 2026 21:32:44 +0300
-Subject: [PATCH] client: Fix filter creation with uppercase username
-
-Fixes #57
----
- src/cm-client.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/cm-client.c b/src/cm-client.c
-index caa1f4c..da7a90c 100644
---- a/libcmatrix-v0.0.4/src/cm-client.c
-+++ b/libcmatrix-v0.0.4/src/cm-client.c
-@@ -505,7 +505,7 @@ matrix_upload_filter (CmClient *self,
-     }
- 
-   cancellable = g_task_get_cancellable (task);
--  uri = g_strconcat ("/_matrix/client/v3/user/", cm_user_get_id (CM_USER (self->cm_account)), "/filter", NULL);
-+  uri = g_strconcat ("/_matrix/client/v3/user/", cm_account_get_login_id (self->cm_account), "/filter", NULL);
-   cm_net_send_json_async (self->cm_net, 2, json_object_ref (filter),
-                           uri, SOUP_METHOD_POST,
-                           NULL, cancellable, cm_upload_filter_cb,
--- 
-GitLab
-

diff --git a/121.patch b/121.patch
new file mode 100644
index 0000000..52dec76
--- /dev/null
+++ b/121.patch
@@ -0,0 +1,27 @@
+diff --git a/src/cm-client.c b/src/cm-client.c
+index 9f6b25d929fa96eff9657f41a7005cfc23bc8c4c..b82c3da867f405b4db75226000823fd3a3b8b758 100644
+--- a/libcmatrix-v0.0.4/src/cm-client.c
++++ b/libcmatrix-v0.0.4/src/cm-client.c
+@@ -1278,8 +1278,7 @@ cm_client_set_user_id (CmClient   *self,
+                        const char *matrix_user_id)
+ {
+   g_autoptr(GString) str = NULL;
+-  GRefString *new_user_id = NULL;
+-  g_autofree char *user_id = NULL;
++  GRefString *user_id = NULL;
+ 
+   g_return_val_if_fail (CM_IS_CLIENT (self), FALSE);
+   g_return_val_if_fail (!self->is_logging_in, FALSE);
+@@ -1298,10 +1297,8 @@ cm_client_set_user_id (CmClient   *self,
+       return FALSE;
+     }
+ 
+-  user_id = g_ascii_strdown (matrix_user_id, -1);
+-  new_user_id = g_ref_string_new_intern (user_id);
+-
+-  cm_user_set_user_id (CM_USER (self->cm_account), new_user_id);
++  user_id = g_ref_string_new_intern (matrix_user_id);
++  cm_user_set_user_id (CM_USER (self->cm_account), user_id);
+   cm_user_list_set_account (self->user_list, self->cm_account);
+ 
+   str = g_string_new (NULL);

diff --git a/chatty.spec b/chatty.spec
index 7cbf03a..edf02a5 100644
--- a/chatty.spec
+++ b/chatty.spec
@@ -18,8 +18,8 @@ Source1: https://gitlab.gnome.org/guidog/libcmatrix/-/archive/v%{libcmatrix_vers
 # We do not want to provide a private library, which is from another
 # project, to be used in other packages.
 Patch0:  0001-hacky-hack.patch
-# https://source.puri.sm/Librem5/libcmatrix/-/merge_requests/116
-Patch1:  116.patch
+# https://gitlab.gnome.org/guidog/libcmatrix/-/merge_requests/121
+Patch1:  121.patch
 
 ExcludeArch:    %{ix86}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-24 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24 11:04 [rpms/chatty] f44: Update patch for login fix for uppercase usernames 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox