Welcome. :)
If at some point you have any code you want to share, feel free to. O:-)
I'd have preferred a new topic for the question, but okay. :P
Depends from where do you want to access it and how you want to change it.
If you can give some more hints I can provide you with a better answer. :)
@emanuele file:
GenericBoards.templateimmediately after::
<p class="board_lastpost">
Is it possible to get both the latest reply's message icon and the OP message icon?
Okay, better go to a new topic now. :)
Sorry, I used a poor wording for the question, but anyway I think I can give you an answer anyway.
The boards data used in the function are passed as parameter. Usually (e.g. in BoardIndex and in MesasgeIndex for child boards) these data come from https://github.com/elkarte/Elkarte/blob/v1.0.10/sources/subs/BoardsList.class.php
This class provides the last posts, but it doesn't fetch the message icon, and it doesn't fetch the OP at all.
So, if you want that data... well, there is a bit of work to do. :)