Matheus Batista
Matheus Batista
Sorry, but I don't believe I have enough knowledge about stream transformation to send a PR to fix this. I tried looking at the code and got confused about how...
> but of course `this.context` wont work in functional components @amillward You can access Legacy Contexts in a functional component: [React docs](https://reactjs.org/docs/legacy-context.html#referencing-context-in-stateless-function-components) ``` import PropTypes from 'prop-types'; function App(props, context)...
Apparently the text was added to the documentation [recently](https://github.com/laravel/docs/commit/13793d42df18a39c619a7208092938189770d23f), but it seems that Laravel already opted to use the POSIX locales format internally [for some time](https://github.com/laravel/framework/pull/22074#issuecomment-344501621). An example of this...
@promatik From what I understood, yes. The [FileLoader](https://github.com/laravel/framework/blob/8.x/src/Illuminate/Translation/FileLoader.php#L122) applies the configured locale in the string and checks if the file exists. The example given in the [PR](https://github.com/laravel/docs/pull/5605) that added the...
Changing only the Laravel `lang` folder name is also not enough. The locale is [used](https://github.com/Laravel-Backpack/CRUD/blob/master/src/resources/views/crud/fields/select2.blade.php#L70) to load dependencies i18n files, like the ones [for Select2](https://github.com/Laravel-Backpack/CRUD/tree/master/src/public/packages/select2/dist/js/i18n). So the request for `/packages/select2/dist/js/i18n/pt_BR.js`...
@IanosJunior The reason why the `messages.reaction` event is not fired when the `reactionMessage.text` is empty is probably in here, but I'm still trying to understand the code. https://github.com/WhiskeySockets/Baileys/blob/54f8215eef2ec8911ac0fd71bdf5e2a362f98fcb/src/Utils/event-buffer.ts#LL433C27-L433C27
@IanosJunior Found it! The `event-buffer` calls the util function `updateMessageWithReaction` that in turn checks if the reaction text has a value before pushing the reaction to the message object: https://github.com/WhiskeySockets/Baileys/blob/54f8215eef2ec8911ac0fd71bdf5e2a362f98fcb/src/Utils/messages.ts#L719...
@IanosJunior Just removing this conditional would make these "reactions with empty text" to be added to the `msg.reactions` array. Since the `updateMessageWithReaction` function is called in multiple points in the...
You can use the [`dotfiles`](https://github.com/tschaub/gh-pages#optionsdotfiles) option (`-t` or `--dotfiles` in the command-line) I'm using it in a create-react-app `package.json` like this (with a different `.gitignore` in the public folder): ```...