public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chatty] rawhide: Patch from previous commit was missing
@ 2026-10-24 10:16 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-24 10:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chatty
Branch : rawhide
Commit : f836d7ffb3fef4d4a07baa903621c45f77b8587a
Author : Tomi Lähteenmäki <lihis@lihis.net>
Date   : 2026-10-24T13:16:30+03:00
Stats  : +27/-26 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chatty/c/f836d7ffb3fef4d4a07baa903621c45f77b8587a?branch=rawhide

Log:
Patch from previous commit was missing

---
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);

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24 10:16 [rpms/chatty] rawhide: Patch from previous commit was missing 

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