mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Fix TokenGiven stories for Asana
Summary: Ref T6201. This isn't quite perfect but should be good enough. At some point far in the future I plan to revamp feed rendering a bit. This should possibly become a real ApplicationTransaction story eventually, too. Test Plan: {F211777} Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T6201 Differential Revision: https://secure.phabricator.com/D10625
This commit is contained in:
parent
fda0b086b5
commit
7018909447
1 changed files with 9 additions and 0 deletions
|
@ -53,4 +53,13 @@ final class PhabricatorTokenGivenFeedStory
|
|||
return $title;
|
||||
}
|
||||
|
||||
public function renderAsTextForDoorkeeper(
|
||||
DoorkeeperFeedStoryPublisher $publisher) {
|
||||
// TODO: This is slightly wrong, as it does not respect implied context
|
||||
// on the publisher, so it will always say "awarded D123 a token" when it
|
||||
// should sometimes say "awarded this revision a token".
|
||||
return $this->renderText();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue