[wp-meta] [Making WordPress.org] #3799: `/announce` and `/here` do not work for newer users

Making WordPress.org noreply at wordpress.org
Wed Sep 12 03:02:11 UTC 2018


#3799: `/announce` and `/here` do not work for newer users
-------------------------+----------------------
 Reporter:  dd32         |      Owner:  dd32
     Type:  defect       |     Status:  assigned
 Priority:  normal       |  Milestone:
Component:  Slack & IRC  |   Keywords:
-------------------------+----------------------
 As reported in Slack #meta
 https://wordpress.slack.com/archives/C02QB8GMM/p1536701029000100 some
 users are unable to use the `/announce` and `/here` commands despite being
 whitelisted.

 This is because Slack changed awhile ago to deprecate the `user_name`
 field: https://api.slack.com/changelog/2017-09-the-one-about-usernames

 As done elsewhere in our Slack API code, the proper thing to do here is to
 determine the user by the slack `user_id` and convert that back into a
 WordPress `user_login` before comparing it to the whitelists.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3799>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list