mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
Previously we were manually comparing the composer 'action' to the REPLY and EDIT constants. This meant that other forms of editing (e.g. shared drafts) were not included. This commit changes the presence logic to use the existing composer computed variables.