[PR #50] [MERGED] fix Message._update #79

Closed
opened 2026-02-15 23:16:33 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/python-client-sdk/pull/50
Author: @TheBobBobs
Created: 5/11/2023
Status: Merged
Merged: 5/19/2023
Merged by: @Zomatree

Base: masterHead: master


📝 Commits (2)

  • ee0ddff fix Message._update
  • c68e9ef handle edited being int in MessageUpdate event

📊 Changes

2 files changed (+11 additions, -5 deletions)

View changed files

📝 revolt/message.py (+8 -4)
📝 revolt/types/gateway.py (+3 -1)

📄 Description

Edited field on MessageUpdate events is a string in iso8601 format not a timestamp.
Also when using the /global command a MessageUpdate event without a edited field is received

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended
  • These changes do not have any notable side effects on other Revolt projects

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/python-client-sdk/pull/50 **Author:** [@TheBobBobs](https://github.com/TheBobBobs) **Created:** 5/11/2023 **Status:** ✅ Merged **Merged:** 5/19/2023 **Merged by:** [@Zomatree](https://github.com/Zomatree) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`ee0ddff`](https://github.com/stoatchat/python-client-sdk/commit/ee0ddff2159488df719cae7b150e867e43c8f54e) fix Message._update - [`c68e9ef`](https://github.com/stoatchat/python-client-sdk/commit/c68e9efa7e44f1a11e2088f30af8c42cad806a0f) handle edited being int in MessageUpdate event ### 📊 Changes **2 files changed** (+11 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `revolt/message.py` (+8 -4) 📝 `revolt/types/gateway.py` (+3 -1) </details> ### 📄 Description Edited field on MessageUpdate events is a string in iso8601 format not a timestamp. Also when using the /global command a MessageUpdate event without a edited field is received ## Please make sure to check the following tasks before opening and submitting a PR * [X] I understand and have followed the [contribution guide](https://github.com/revoltchat/revolt/discussions/282) * [X] I have tested my changes locally and they are working as intended * [X] These changes do not have any notable side effects on other Revolt projects --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 23:16:33 -05:00
yindo closed this issue 2026-02-15 23:16:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#79