バグ #1366 » 0001-receive_user_screen_names.patch
core/plugin/twitter/model/message.rb | ||
---|---|---|
242 | 242 |
# 宛てられたユーザの idname(screen_name) の配列 |
243 | 243 |
def receive_user_idnames |
244 | 244 |
self[:message].to_s.scan(MentionMatcher).map(&:first) end |
245 |
alias :receive_user_screen_names :receive_user_idnames |
|
246 |
deprecate :receive_user_screen_names, "receive_user_idnames", 2020, 7 |
|
245 | 247 | |
246 | 248 |
# 自分がこのMessageにリプライを返していればtrue |
247 | 249 |
def mentioned_by_me? |