# يتم إعادة تعيين حالة زر الإعجاب عندما يقوم مستخدم آخر بالإعجاب بنفس المنشور عندما يكون متصفحنا لا يزال مفتوحًا

**URL:** <https://meta.discourse.org/t/like-button-state-is-reset-when-another-user-likes-the-same-post-when-our-browser-tab-is-still-open/227239>\
**Category:** Bug\
**Created:** [16 مايو 2022، 6:10م UTC](https://meta.discourse.org/t/like-button-state-is-reset-when-another-user-likes-the-same-post-when-our-browser-tab-is-still-open/227239 "2022-05-16T18:10:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [16 مايو 2022، 6:13م UTC](https://meta.discourse.org/t/like-button-state-is-reset-when-another-user-likes-the-same-post-when-our-browser-tab-is-still-open/227239/2 "2022-05-16T18:13:51Z")

</div>

هذه هي المشكلة التي يُفترض أنها تم إصلاحها الأسبوع الماضي:

> <https://github.com/discourse/discourse/pull/16688>
>
> This fixes a corner case of the perf optimization in d4e35f5.
> 
> When you have the… the same post showing in multiple tab/devices and like
> said post in one place, we updated the like count but didn't flip the
> \`acted\` bool in the front-end. This caused a small visual desync.

يصلح طلب السحب أعلاه الحالة الواضحة لوجود نفس الموضوع في علامتي تبويب / متصفحين / جهازين مختلفين.

لا يزال بإمكانك تشغيله إذا كانت علامة التبويب الثانية قديمة جدًا لدرجة أن قائمة انتظار MessageBus قد تم مسحها ولم يتمكن التطبيق من استعادة السجل الكامل منها. لا توجد طريقة أخرى.

إذا وجدت طريقة لإعادة إنتاج هذا بطريقة أخرى في مثيل محدث، فيرجى تقديم تقرير خطأ بشأنه مع خطوات إعادة الإنتاج.

---

_[View the full topic](https://meta.discourse.org/t/like-button-state-is-reset-when-another-user-likes-the-same-post-when-our-browser-tab-is-still-open/227239)._
