# Discourse Retort

**URL:** https://meta.discourse.org/t/discourse-retort/35903
**Category:** Plugin
**Tags:** end-of-life
**Created:** [November 22, 2015, 11:53am UTC](https://meta.discourse.org/t/discourse-retort/35903 "2015-11-22T11:53:58Z")
**Posts on this page:** 20
**Page:** 20

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [October 7, 2020, 11:03pm UTC](https://meta.discourse.org/t/discourse-retort/35903/397 "2020-10-07T23:03:39Z")

</div>

**Discourse Version:** [discourse](https://github.com/discourse/discourse.git) latest-release +121  
**Retort:** [retort](https://github.com/gdpelican/retort.git) 201afe3

* * *

I’m still seeing the following errors in google chromes console

```
Uncaught TypeError: Cannot read property 'map' of undefined
at _retort-972c371c6d8722041975c4d4723d73c31b2cd1f7ab4e5ef40da956eba16f7b7d.js:31
at _application-edf47146272ed83797d8302598e8d2811398547deb797477466306b2b1364d57.js:80552
at Array.map (<anonymous>)
at y (_application-edf47146272ed83797d8302598e8d2811398547deb797477466306b2b1364d57.js:80551)
at t.html (_application-edf47146272ed83797d8302598e8d2811398547deb797477466306b2b1364d57.js:76664)
at t.value (_application-edf47146272ed83797d8302598e8d2811398547deb797477466306b2b1364d57.js:81059)
at t.value (_application-edf47146272ed83797d8302598e8d2811398547deb797477466306b2b1364d57.js:80760)
at s (_vendor-a520d2facd37b23a6fce06beaf5feaa3034f761d5b4f37c89c4cecd3ead14192.js:20537)
at t.exports (_vendor-a520d2facd37b23a6fce06beaf5feaa3034f761d5b4f37c89c4cecd3ead14192.js:20524)
at e (_vendor-a520d2facd37b23a6fce06beaf5feaa3034f761d5b4f37c89c4cecd3ead14192.js:19893)

```

## Seems to be related to this line..

```
 api.decorateWidget('post-contents:after-cooked', function (helper) {
  var postId = helper.getModel().id;

  var post = _retort.default.postFor(postId);

  if (_retort.default.disabledFor(postId)) {
    return;
  }

  _retort.default.storeWidget(helper);

  return post.retorts.map(function (_ref) { <<<<(RED X HERE)
    var usernames = _ref.usernames,
        emoji = _ref.emoji;
    return helper.attach('retort-toggle', {
      post: post,
      usernames: usernames,
      emoji: emoji
    });
  });
});

```

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 8, 2020, 7:17am UTC](https://meta.discourse.org/t/discourse-retort/35903/398 "2020-10-08T07:17:00Z")

</div>

Thanks, I’ll take a look tomorrow.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 10, 2020, 12:48am UTC](https://meta.discourse.org/t/discourse-retort/35903/399 "2020-10-10T00:48:47Z")

</div>

> [@Vaping\_Community](#):
>
> I’m still seeing the following errors in google chromes console

I’ve handled this (non-breaking) exception 👍

[https://github.com/gdpelican/retort/commit/d04ed98e13fed1939a51fa57dc24fdc0550eb498](https://github.com/gdpelican/retort/commit/d04ed98e13fed1939a51fa57dc24fdc0550eb498)

---

<div class="post-metadata">

### Author: ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)
#### Post date: [October 10, 2020, 1:01am UTC](https://meta.discourse.org/t/discourse-retort/35903/400 "2020-10-10T01:01:16Z")

</div>

Wow, that was quick! Thanks! 🙂

---

<div class="post-metadata">

### Author: ![dimu001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dimu001/32/80176_2.png) [@dimu001](https://meta.discourse.org/u/dimu001)
#### Post date: [October 10, 2020, 2:59pm UTC](https://meta.discourse.org/t/discourse-retort/35903/401 "2020-10-10T14:59:36Z")

</div>

Great, I am hoping to setup this to my community too 😀

---

<div class="post-metadata">

### Author: ![luisherranz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luisherranz/32/134458_2.png) [@luisherranz](https://meta.discourse.org/u/luisherranz)
#### Post date: [October 14, 2020, 4:22pm UTC](https://meta.discourse.org/t/discourse-retort/35903/402 "2020-10-14T16:22:29Z")

</div>

> [@angus](#):
>
> Not expected no. I’ll take a look on the weekend.

Any luck with this? Were you able to reproduce the issue? I wonder if we are the only ones with this problem.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 16, 2020, 4:44am UTC](https://meta.discourse.org/t/discourse-retort/35903/403 "2020-10-16T04:44:13Z")

</div>

It’s somewhat tricky to repro, but I have seen it at least once here:

[https://try.thepavilion.io/t/heres-something-to-react-to/571?u=angus](https://try.thepavilion.io/t/heres-something-to-react-to/571?u=angus)

I’ve made a change that should prevent this from occuring. Could you update and test it?

[https://github.com/gdpelican/retort/commit/c172423d59c358239421fc4346b245e2d9e4f811](https://github.com/gdpelican/retort/commit/c172423d59c358239421fc4346b245e2d9e4f811)

---

<div class="post-metadata">

### Author: ![luisherranz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luisherranz/32/134458_2.png) [@luisherranz](https://meta.discourse.org/u/luisherranz)
#### Post date: [October 22, 2020, 9:32am UTC](https://meta.discourse.org/t/discourse-retort/35903/404 "2020-10-22T09:32:39Z")

</div>

> [@angus](#):
>
> Could you update and test it?

It does indeed! Many thanks for the fix Angus 👏😄

---

<div class="post-metadata">

### Author: ![REALITY](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/reality/32/199798_2.png) [@REALITY](https://meta.discourse.org/u/REALITY)
#### Post date: [November 16, 2020, 8:44pm UTC](https://meta.discourse.org/t/discourse-retort/35903/405 "2020-11-16T20:44:09Z")

</div>

Hi, Is this normal?

 ![](https://global.discourse-cdn.com/meta/original/3X/e/b/eb86ba0a2a4d002c46a4f7038038d44a76e49f09.jpeg)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [November 17, 2020, 9:57pm UTC](https://meta.discourse.org/t/discourse-retort/35903/406 "2020-11-17T21:57:55Z")

</div>

Would it be possible that reacting would automatically like a post?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 18, 2020, 6:36am UTC](https://meta.discourse.org/t/discourse-retort/35903/407 "2020-11-18T06:36:00Z")

</div>

> [@REALITY](#):
>
> Hi, Is this normal?
> 
> ![](https://global.discourse-cdn.com/meta/original/3X/e/b/eb86ba0a2a4d002c46a4f7038038d44a76e49f09.jpeg)

Yup. Were you expecting something else?

> [@Canapin](#):
>
> Would it be possible that reacting would automatically like a post?

No, not at this time.

---

<div class="post-metadata">

### Author: ![anon82467725](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@anon82467725](https://meta.discourse.org/u/anon82467725)
#### Post date: [November 27, 2020, 7:09pm UTC](https://meta.discourse.org/t/discourse-retort/35903/408 "2020-11-27T19:09:34Z")

</div>

I’m so glad that I discovered this plugin. I have wanted this kind of functionality for a while now.

---

<div class="post-metadata">

### Author: ![lipman](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@lipman](https://meta.discourse.org/u/lipman)
#### Post date: [December 11, 2020, 5:40pm UTC](https://meta.discourse.org/t/discourse-retort/35903/409 "2020-12-11T17:40:52Z")

</div>

I’m a member on a group’s forum. To a post, I got more than two reactions of the same type. When I hover over it, it says “[user name 1], [user name 2] and 2 others reacted with [name of emoji]”.

Is there any way to see who those others are?

---

<div class="post-metadata">

### Author: ![TheBaby5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebaby5/32/178897_2.png) [@TheBaby5](https://meta.discourse.org/u/TheBaby5)
#### Post date: [January 19, 2021, 9:47am UTC](https://meta.discourse.org/t/discourse-retort/35903/411 "2021-01-19T09:47:07Z")

</div>

Please look into this..

[https://meta.discourse.org/t/ads-not-visible-at-incognito-mode-after-update/176493/3?u=thebaby5](https://meta.discourse.org/t/ads-not-visible-at-incognito-mode-after-update/176493/3)

---

<div class="post-metadata">

### Author: ![aschrijver](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aschrijver/32/92004_2.png) [@aschrijver](https://meta.discourse.org/u/aschrijver)
#### Post date: [January 20, 2021, 9:52am UTC](https://meta.discourse.org/t/discourse-retort/35903/412 "2021-01-20T09:52:30Z")

</div>

I don’t know if this was proposed before, but in addition to the reaction emoji’s you might want to specify the alt-label that shows when hovering over the emoji, to better clarify its intent. This because emoji’s can still be interpreted rather randomly, or outright wrongly, based on how they are used in other places.

With labels I might specify:

🤔 → This inspires me

😊 → Glad to be of service

❤ → I adore this idea

💙 → I am warming to this idea

👎 → I vote against this idea

💩 → This is off-topic

---

<div class="post-metadata">

### Author: ![anon82467725](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@anon82467725](https://meta.discourse.org/u/anon82467725)
#### Post date: [January 20, 2021, 1:59pm UTC](https://meta.discourse.org/t/discourse-retort/35903/413 "2021-01-20T13:59:55Z")

</div>

> [@aschrijver](#):
>
> 💩 → This is off-topic

This one interests me… 😆

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [January 21, 2021, 1:55am UTC](https://meta.discourse.org/t/discourse-retort/35903/414 "2021-01-21T01:55:09Z")

</div>

I have one user who would receive a lot of this 💩 on their posts.  
🙂

---

<div class="post-metadata">

### Author: ![Fabby](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fabby/32/170928_2.png) [@Fabby](https://meta.discourse.org/u/Fabby)
#### Post date: [January 27, 2021, 11:31am UTC](https://meta.discourse.org/t/discourse-retort/35903/415 "2021-01-27T11:31:31Z")

</div>

Since a week or so, the emoji picker is acting up and scrolls to the top of the page and I couldn’t find an existing bug report of this behaviour.

Example over on [the Manjaro forum](https://forum.manjaro.org/t/page-keeps-scrolling-down-while-searching-emoji-reaction/50542):

![Emoji_Error](https://global.discourse-cdn.com/meta/original/3X/e/a/eab21f01e416903664f2a931c7e234b6a19881c2.gif)

As there seem to be multiple people having this problem opening a new bug report.

😅

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 27, 2021, 12:57pm UTC](https://meta.discourse.org/t/discourse-retort/35903/416 "2021-01-27T12:57:41Z")

</div>

Are you able to reproduce this issue in [safe mode](https://meta.discourse.org/t/53504?silent=true)? [https://forum.manjaro.org/safe-mode](https://forum.manjaro.org/safe-mode)

Is your browser up to date? Are you running any plugins/extensions?

---

<div class="post-metadata">

### Author: ![Fabby](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fabby/32/170928_2.png) [@Fabby](https://meta.discourse.org/u/Fabby)
#### Post date: [January 27, 2021, 4:58pm UTC](https://meta.discourse.org/t/discourse-retort/35903/417 "2021-01-27T16:58:58Z")

</div>

1. Able to reproduce in `firefox --safemode`
2. 

```plaintext
firefox --version
Mozilla Firefox 85.0

```

3. NoScript and uBlock Origin plug-ins running _when not running in Firefox [safe mode](https://meta.discourse.org/t/53504?silent=true)_

🤔

[Previous page](https://meta.discourse.org/t/discourse-retort/35903.md?page=19)

[Next page](https://meta.discourse.org/t/discourse-retort/35903.md?page=21)
