Under the new June 15 dual agency rule that's fine.
Even agent receiving both (listing + selling) or more appropriately called sell + buying side is fine, as long as there's no representation (client) or deemed agency relationship. In recent years commission and renumeration of agents has come up repeatedly to point there's actually a form even if your agent refers to a buddy realtor for the buy side and gets 25-30%, they should be reporting it to the clients.
Of course, one side could be un-represented and in that case listing agent brings buyer would still get both commissions. I'd say that'll be more rare, who doesn't want more protection and one extra person (realtor) to sue if things go sour?
Exceptions do apply
Dual agency is prohibited under section 5-16 of the Rules. However, there is a very limited exception in section 5-17(1) of the Rules. A brokerage may engage in dual agency in respect of a trade in real estate if:
The real estate is in a remote location;
The remote location is under-served by licensees; and
It is impracticable for parties to be provided trading services by different licensees
https://www.recbc.ca/psm/agency-disclosure/