diff options
| author | 2025-12-02 09:53:58 +0100 | |
|---|---|---|
| committer | 2025-12-02 09:53:58 +0100 | |
| commit | 534ee6795aa4eb429846fab94a18036424485363 (patch) | |
| tree | 93c9f3f9dc187fe7aa38e882879f72353b273925 /rss.c | |
| parent | Moved is_msg_mine() to data.c. (diff) | |
| parent | Fix user matching (diff) | |
| download | snac2-534ee6795aa4eb429846fab94a18036424485363.tar.gz snac2-534ee6795aa4eb429846fab94a18036424485363.tar.xz snac2-534ee6795aa4eb429846fab94a18036424485363.zip | |
Merge pull request 'fix user matching' (#502) from rakoo/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/502
Diffstat (limited to 'rss.c')
| -rw-r--r-- | rss.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -59,7 +59,7 @@ xs_str *rss_from_timeline(snac *user, const xs_list *timeline, | |||
| 59 | const char *content = xs_dict_get(msg, "content"); | 59 | const char *content = xs_dict_get(msg, "content"); |
| 60 | const char *published = xs_dict_get(msg, "published"); | 60 | const char *published = xs_dict_get(msg, "published"); |
| 61 | 61 | ||
| 62 | if (user && !xs_startswith(id, user->actor)) | 62 | if (user && !is_msg_mine(user, id)) |
| 63 | continue; | 63 | continue; |
| 64 | 64 | ||
| 65 | if (!id || !content || !published) | 65 | if (!id || !content || !published) |