Skip to content

Commit

Permalink
Fix ForumTopic._parse issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Aliwoto <[email protected]>
  • Loading branch information
ALiwoto committed Jan 29, 2024
1 parent c15eae3 commit 73c223e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>

__version__ = "2.0.138"
__version__ = "2.0.139"
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
__copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"

Expand Down
2 changes: 1 addition & 1 deletion pyrogram/methods/chats/get_forum_topics_by_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ async def get_forum_topics_by_id(
topics = types.List()

for current in getattr(r, "topics", []):
topics.append(types.ForumTopic._parse(current))
topics.append(types.ForumTopic._parse(self, current))

return topics if is_iterable else topics[0]

0 comments on commit 73c223e

Please sign in to comment.