Skip to content

Commit

Permalink
Swapped from has-new
Browse files Browse the repository at this point in the history
  • Loading branch information
MujyKun committed Aug 3, 2021
1 parent 8a919fc commit 7e93f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Weverse/weverseasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ async def check_new_user_notifications(self) -> bool:
:returns: (:class:`bool`) Whether there is a new notification.
AS OF AUGUST 3rd 2021, It appears has_new is no longer being used by Weverse themselves.
It is unsure if the endpoint still works as it should. It would be recommended to
This endpoint has been acting a bit off and not producing accurate results. It would be recommended to
instantly get new notifications with :ref:`update_cache_from_notification` instead.
"""
async with self.web_session.get(self._api_new_notifications_url, headers=self._headers) as resp:
Expand Down
3 changes: 1 addition & 2 deletions Weverse/weversesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ def check_new_user_notifications(self):
:returns: (:class:`bool`) Whether there is a new notification.
AS OF AUGUST 3rd 2021, It appears has_new is no longer being used by Weverse themselves.
It is unsure if the endpoint still works as it should. It would be recommended to
This endpoint has been acting a bit off and not producing accurate results. It would be recommended to
instantly get new notifications with :ref:`update_cache_from_notification` instead.
"""
with self.web_session.get(self._api_new_notifications_url, headers=self._headers) as resp:
Expand Down

0 comments on commit 7e93f2e

Please sign in to comment.